package ast;

import visitor.*;

public class SentenciaReturn extends AbstractSentencia
{
	public SentenciaReturn(Expresion expresion,int linea){
		this.expresion = expresion;
		this.linea =linea;
	}
	public SentenciaReturn(Object expresion,int linea){
		this.expresion = (Expresion)expresion;
		this.linea =(int)linea;
	}


	public Object accept(Visitor v, Object param) { 
		return v.visit(this, param);
	}

	public Tipo tipoRetorno;
	public Expresion expresion;
}
